converting into a module