added tie feature