add object serialization, and KILL WARNINGS