Adding Pristine method to the file