added jeEvent and a few other things