added code and images