add type code for notifications