let employee = new Employee( data[i].firstName, data[i].lastName, data[i].email, new Availability( data[i].availability.days, data[i].availability.hours ) );