orgnaizing the code