make pin setable