better to have statement like "raises exception if unsupported unit is passed"