run method for machine and more stuff in ex-parser