Adding Orignal code