adding checkbox functionality