switched return to continue