Reformatting bearview.cpp