better check for pinned