added input to relations