finished rel funcs