unused codes removed