contract of hiring or apprenticeship