pin direction