Generate Executor with check arguments. nedd to refract this