Added continue logic