deleting legacy rubbish