add flow module
term complement in nest operator