#14 Format function implemented.