learning me some C.