for #7, use activity to pass fragment data