Isn't that what lines 112-116 do?