added a functioning button