changes function name, and cleans up unused io constant