testing out alert in block of code