base diagram