removed unused alert statemement