fragments and animation are added