got the loop working in assigned activity, but looks wonky