c99 standard (moving away from legacy style code)