added locals and removed tabs