exit if not master perhaps?