added edge structure