Using sprintf for creating strings in uom. Upoped version