converted player to new object system