changing from runtime to driver api