work type by function

fortress