framwork rework successfully,but plenty of bugs to be fixed