adds fromEvents wrapper