make mutate into a module