global refact relation