tie conditions added