changed setDummyInput to appendDummyInput