better synchronisattion of slaves