added button and connections