parallel loop metadata almost implemented correctly