0.04  23.08.2014
  - refactored given/when into plain if/elsif/else