renamed master to monitor