implemented checkbox-check