started writing Javadoc comments on the methods