Changed next into return, because of not existing loop label.