added more javadoc
minor update to formating
version 1.1.2