improved hal output