add code for inch