work type by function

granary