updated comments in cpp files