generate pins scaffold