added main page init