https://gist.github.com/rochacbruno/3b5da1f43620a6a8ccb8894ce98c0718#file-app-py-L18-L19 