Added local_extract method