Made plot work