added pinning