adding REST