adding an x button