added legend and fit info