Fixed Typo
Added javadoc