added timing to player.java