remove redundant commands. Structure code (indentions)