simplify replace_player()