removing code no longer in use