create implicit loop idx and no variable
streamline filter code