implemented checkbox