added legends, etc.