Added duration for the shapes