Added plot to preprocessing