removing code that is no longer used