Custom event duration
Bugfix (missed semicolon), and tested custom duration