changed search to include activated