Deleting unnecessary filter code