added legends
removed unnecessary css