Changed main frame