deleted extraneous (probably broken) code
trying to figure out how to save class; tortured, non-working solution so far