added restful methods