added ! back into the checkbox statement