Add getnum library