Added 2nd func for mainpage