two more functions to convert