able to retrieve data and added random plot