new method for statusfiltering