allow category to take Proc