prepare 2-legged version