added alerts and inputGroup