added new order functionality