finished db relationships