starting to let layout to change state