ga0:loop and improvements