Removed unused state variable