removed unnecessary code at bottom that was commented out