starint to build main fram