made bool evaluations work in value