converting to a module