reshaping the plot foactory and the example files...