initial work for adding loader to plot