added the success alert