Testing Curtis's code