Added getInput to get the entire input structure