added resultframe and txtfield for n