finishing the REST