contract of service or apprenticeship