changes made for being added as a module