removed old code and formatted new
removed old code and added translation method for conversion options