base for relations