Big progress! Wait and loop work!