added edges without dictionaries