version 1 of plotting module