check number from backend
naive and callback implementation