Add Pin functionality