added the initial flow in index.html