make into a module