Ternary

converted to ternary and created backup of non-ternary.