bare bones loop.