Added verification on boolean