cleaned up an unused method