changed string format to new pattern