removed unused method
Updated to match current code