use setState instead of directly touching state