added new native method; clean up