complete the nmisstatic func