A replace function makes this module so much more useful