refactor checkbox
select