prelim main activity to fragment.