Do some formatting