ext accepts function/[] for second param