added alerts for blank fields