added comments to play.java