still struggling with plotting