Add resource sample