added documentation for resources