fixed indentations
fix pointer location and indentations
auto