separating database