trying a different encoding method