Returning an array if checkboxes are used