Found a bug, a missing 'end'.