added in new rest method