example with flask template