split master and node