added decorate- and undecorate-sketch functions