Added left padding function