adding some player logic