improved field entry interaction, worked a little more on code comparison