add debug switch for database