added analyze tables