snippet resource