Adding logic to search by skills