wrapper for existing modular() method