continue adding deserilization function