autoformat
static function shouldn't be in the header file
Wrote c6 script as C code.