Comment to 'Function for duplicating events'