rest works