- added JavaDoc and Exceptions