cleaned up plot