Added ability for users to add their own number function