dynamic event declaration engine