Introduction of struture in the code