add type to activities