added to string methods in 3 classes