testing nested sequence