about to rewrite according to PresentationScript