book keeping, delete old codes