Adding haln feature and also copy reference feature