Old and bad legacy code. Do not use. Do not look at it. Do not try to understand.