use 1 and 0, not 1 and 2 for binary data