got the pinning working