check and uncheck items