trying to fix Corey's NRE-3