fixing indentation and removing reduntant assignment line