additional temporal pooling implementation