added continue nested cases