sets up custom pin