added direction into