boolean and instead of logical and