use case class for links