add separator removal and element generation
add input tag template generation by id