modified activity table definition.