Implement Add order function