Pin functionality added