Why did you put that outside of the case class constructor?