add more RESTful functions