Added the module for changing state