can we use `&&` for the comparison