added new nar function to convert to assembly input, needs better widgets