added RESTful API methods