i personally hate doing bitwise operations on bools  i feel much better about success freegroup success if you want to call freegroup regardless of the previous failures but that is my taste however in this case you are not looping or anything  then maybe just ditch the and and do simple assignment 