trying to format the code samples