Alert creation method