delete moved code