adding convolution and pooling