pulling work type from the array instead of hard coded