change name of type param for alerts