resolved link errors.  Now getting run-time errors