change name of function from alertPanel to alert