labels should be zero or one