added restful style api