added direction command