insertion, case class object rep, and performance for insertion added