remove old parts of code