begin work (added some activity and fragment)