more label functionality in HATgenerator