Added pin functionality scaffold