Added check. Change state