added total hours to schema