template staging and user input