Added Pin Functionality