revamped itemization and added offline plotting