ha-db_infoscreen decisions: why the code looks like this