Added better player code