added import statements and extend FragmentActivities