still trying to get the plots to work