added twoway test