boolean version of twoStructs added