To address Karsten's comment on merge request !418 (merged), the variable sad is renamed since it is not sad anymore.