fixed to support appropriate digits