re-start of code for home page