started on the rest client