added checked() method for checkbox values