Added some player rendering code