added moduleResolver function which can be used in future