Scaffold for encoder