updated with prettyfying of code blocks