both directions + d instead depth