Added to mb convert function