generated a scaffold for pins