add activity snippet