live environment code