still doesnt quite work but perhaps i can fix it tomorrow. -MM
added output file