didn't have to be case class - made class