minor improvements over the text
adding analytics code