redefine code