ray loop started