faster and better controlling state