changed new like style with regex expression