keyworlds proper direction code