would making this a part of the module, instead of part of the class, be more efficient?