Changed input to 10 variables