work type by function

folly