replace take/drop to splitAt