removed prettify function call