Changed to help instantiation

Sorry this was buggy and needed to be changed to use as a standalone
class...it was carved from a larger project