worked a little on the java grammar