reverted changes to op_loop