removed reference to rest client in example
removed debugging statements