Initial work on weighted edges