Formatting, replaced alert with warning