method call support works for small programs, bigger ones hang