Updated indentation and removed console