These should be refactored to use the checked() function