loading data and creating plots