one-off to ones and zeroes