add bool context behavior