Implemented double pinning