reverted to makeLoop() while fixing loop()