main fragment completed