added duration to effects rendering