why take the substr from index 2?