PLayer class change