remove defunct code