hanlding incoming alerts