Cleared main. Preparing Ray