added sweetAlert