delete hello message
refactor code to if/else and if/elseif/else