initial work on database integration