added filter for selected devices