added button pressing & change port