added finalized code and images