Combine get-C-u and get-M-num function