why not init. alert was within obj.