Create hasloop