modified player logic