added basic doc searching