added javadoc to player