Added in run() as a replacement for int main()