Tested upto Case4.