main frame (upd.)