implemented marking of special lines H1, H2 and HR
changed to use constants for special lines