working on plot