add avg pooling, sum pooling