renamed Name to Input and fixed some javadoc comments