add master.go as interface