submod prototype