dianne's adding cards code merged