lighten code tags
refactoring
added custom input example