refactoring code
refactoring banner
validating mandatory parameter