use type as section