Working on invokation and threading