Add structure to input template