Add Pin Functionality