filling out templating and input typing