add getters and setters for edge