Delete unnecessary "use"
Move similar code into filter()