switching format to idempotent version