Reverted to non-ternary

Created backup of ternary and reverted to non ternary