implemented filter by status