grouped the conversion methods into one file