nanifying proc.cc
reformatting for improved readability