maybe fix the encoding thing