made the two plots