formatting and unused $escape variable