steps to run the code