Updated the code to indicate it is a snippet