looking at static in cpp