Working on serialization, rest is working