reduced reliance on hwdb for monitor code