Created binary to ternary app