Added new line at the end.
added javadoc.