split get_activity_data from search method