added findMaster method