more updated for database structure description