modified to use actor.turn