index page full functional