getnum is wrong
Still trying to fix add
add function is working