moved out showHelp function from view to help