save rtInfoScope instead of rebuilding scope
code styling and comments