add notes on database design