implemented static plotting