how can I do this conversion?