prepare mode 3