testing patch mode