fixed the code snippet's formatting