Sorry, hadn't seen your comment below before regarding the slaveState. Will try to use that approach.