fixed ending of graphdata.pm to return