Implemented andWhen for conditionals