added samples that returns result from service