Added tie checking