implement status filter