code and plots added to root folder