store pin data