typo fixed
fixed import & added javadoc
added javadoc