adding non-recursive spotlight search function