correct main in exec