add db, cycle activity