trimming code;