changed name collision mechanism to use ordinal numbers