add order managerment func