added a duration for Effect