implement #filter, #split and #take