Added Invoke function behaviour