refactoring in process
simple plot working fine
subplot figures working