adding alert boxes