extend mainpage