tutorial about how to use resource manager.