Added the option to wait for new state