use variables on main page