stable version without logging