add miss file:smartmax.c