init events API