create pins and cleanup pins scaffold