some usefull C code at job