move filter to main class file