Head Program Working For All cases