result changed to obj instead of String.