wrote alertPlatform