making edges public and computed on init