adding checkbox switch