fixed originl loop... kinda