added back in translateAndExecute method for testing