added scaffolding for pins