made josh's code into a module