add prev struct to handle native parent method