add rest method