adding back in the input elements