add rest for custom