Working on advancedSearch