added public activity and the migration