Add barebones convert function to middle (no error checking)