nearly-first version: we have a small problem to get the direction