work type by function

building complex