replace utils with ctypes where possible
whitespace -> 4