adding an invert button