Removed unused variable from method