move light out of user loop