can we use true/false instead of 0/1 here?