Main #Homemade Double