work type by function

orphanage