Removed long sample output & changed javadoc