preliminary version of moving Loads out of loops