Implement the function Convert(), all tests passed