got alert working