Change invoke to obj