working
adding object serialization using kryo