add serialization into tank object