add default rest method