Add number dispatch function