add print/alert to top level
update docs for new top-level functions