model serialization added