Fix round robin. Change instruction/result api.