add function on orderservice class