updated some player logic