changed string method