defined legal relationship