re document how to use