remove code that uses the resource module (unused code)