add activity code

add activity code