Added autoindent/cindent for formatting