nested extract