inter module optimizations