added a data class that piggie backs of Kryo