updated syntax for checkbox and label