a few adjustments; fixed search
Merge pull request #15 from jghezzi/jeremy_working

a few adjustments; fixed search