adds name and number input to view