make direction independent