added legend titles