added a drawer function to player