thinking through some flask things