utils and logical AND