Added code and plot for PLot1