Study finds the secret ingredient to academic success