edited functions in modules