Previously all zeros were removed, this has been amended and now the code only removes leading zeros