lynn's code