Added two types of buttons.