finished alert,draw and some comments