The quality of beans matters too. You can hide the quality of bad coffee beans with good roasting but if the beans are sour, you can't cover that up. And I dont think Starbucks is perfecting the quality of their roast either, they want consistency over quality.