add scaffolding to pins
fix syntax error 1