added another alert constructor
merged