fixed the sloppy code I wrote this morning for namespace