in this way the transitions can be carried out gradually