set up pins