added all database compatibility