starting some templating to handle inserts