1 means pass, 0 means fail