deleted some unused codepieces