Added clientId to the coordinator code