cleaning up after debugging.
got intel version working, sort of
fixed delete problem