updated some code and images.