adding eventmachine