simplified ErlangEngine