implement fetch num