changed to add padded zeros