removed alert code that was commented out