Added deserialize and initial form