added in getters and setters for edges