Adding directions in keyword mapping