added a check during Book creation