binary plotter initial working