working loop w/out updates