updated post code and images