refactoring
implicit val exercise