moved first code example out of fold