trying to get alert working