Added textboxes and templates