for setting root