Removed unused variable warning