added take/takeLast