make things restful