work on master search