add completed order function