added code for database browser