fixed indentation, allow LOOP_END = 0