meaningful error message
clean up
utility functions in helper.rb
alert layer