created alert class