redoing submod