Delete unnessery code