Added realtion functions