Thanks ptrblck that worked perfectly. Out of curiosity, for a case like this, is there any reason why pushing the output result to one value rather than using two (like in one-hot encoding and above) wouldn’t work?