Extracting to object