added cdn method for mobile