added parse connection to activities