added id to pin