first index.htmkl version, for controlling interface