plotter extension refactoring done