moving to eventmachine