removal of code that is no longer used