started commenting and javadocing