moved rel functions from this sol pack