add rest all method