added linear activation function