Removed unused variable bool found