added details on how to use the code.