started working on complete loop