allow function type for choices