got rid of duration stuff
Modified plotting function
a space added