work type by function

horreum