Removed unused variable to get rid of a warning