Minor changes to the code and a little text