Added missing invoke function