implemented order command