ConnectionHelper added and activation function