database structure & record