* Replace string by-val passing with const reference * Fix code style * Remove redundant `int table` definition and indentation level
* Replace string by-val passing with const reference * Fix code style * Remove redundant `int table` definition and indentation level