1st pass on database'