nelson's code