Added Append function and UIAlert