'1/2 HALO feature kanged from PA, modified to work by scotthartbti
and modified to work on AoCP by fezzy102'