cleaned up movePeople method