added better resource example