changed the names of functions in anlz and ppt2