adding input to the tags