main frame added