added check/uncheck feature