Continuing to work on stub.  Next need to optimize memory and speed.