Avoiding overide of prototype and  fixing identation