still working the looping