switched from using val() to prop('checked') to get checkbox status