added edge modification
convenience method